package com.pactera.asmp.server.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SubtaskExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SubtaskExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNull() {
            addCriterion("task_id is null");
            return (Criteria) this;
        }

        public Criteria andTaskIdIsNotNull() {
            addCriterion("task_id is not null");
            return (Criteria) this;
        }

        public Criteria andTaskIdEqualTo(Long value) {
            addCriterion("task_id =", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotEqualTo(Long value) {
            addCriterion("task_id <>", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThan(Long value) {
            addCriterion("task_id >", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdGreaterThanOrEqualTo(Long value) {
            addCriterion("task_id >=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThan(Long value) {
            addCriterion("task_id <", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdLessThanOrEqualTo(Long value) {
            addCriterion("task_id <=", value, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdIn(List<Long> values) {
            addCriterion("task_id in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotIn(List<Long> values) {
            addCriterion("task_id not in", values, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdBetween(Long value1, Long value2) {
            addCriterion("task_id between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andTaskIdNotBetween(Long value1, Long value2) {
            addCriterion("task_id not between", value1, value2, "taskId");
            return (Criteria) this;
        }

        public Criteria andDuidIsNull() {
            addCriterion("duid is null");
            return (Criteria) this;
        }

        public Criteria andDuidIsNotNull() {
            addCriterion("duid is not null");
            return (Criteria) this;
        }

        public Criteria andDuidEqualTo(String value) {
            addCriterion("duid =", value, "duid");
            return (Criteria) this;
        }

        public Criteria andDuidNotEqualTo(String value) {
            addCriterion("duid <>", value, "duid");
            return (Criteria) this;
        }

        public Criteria andDuidGreaterThan(String value) {
            addCriterion("duid >", value, "duid");
            return (Criteria) this;
        }

        public Criteria andDuidGreaterThanOrEqualTo(String value) {
            addCriterion("duid >=", value, "duid");
            return (Criteria) this;
        }

        public Criteria andDuidLessThan(String value) {
            addCriterion("duid <", value, "duid");
            return (Criteria) this;
        }

        public Criteria andDuidLessThanOrEqualTo(String value) {
            addCriterion("duid <=", value, "duid");
            return (Criteria) this;
        }

        public Criteria andDuidLike(String value) {
            addCriterion("duid like", value, "duid");
            return (Criteria) this;
        }

        public Criteria andDuidNotLike(String value) {
            addCriterion("duid not like", value, "duid");
            return (Criteria) this;
        }

        public Criteria andDuidIn(List<String> values) {
            addCriterion("duid in", values, "duid");
            return (Criteria) this;
        }

        public Criteria andDuidNotIn(List<String> values) {
            addCriterion("duid not in", values, "duid");
            return (Criteria) this;
        }

        public Criteria andDuidBetween(String value1, String value2) {
            addCriterion("duid between", value1, value2, "duid");
            return (Criteria) this;
        }

        public Criteria andDuidNotBetween(String value1, String value2) {
            addCriterion("duid not between", value1, value2, "duid");
            return (Criteria) this;
        }

        public Criteria andNeedTimesIsNull() {
            addCriterion("need_times is null");
            return (Criteria) this;
        }

        public Criteria andNeedTimesIsNotNull() {
            addCriterion("need_times is not null");
            return (Criteria) this;
        }

        public Criteria andNeedTimesEqualTo(Integer value) {
            addCriterion("need_times =", value, "needTimes");
            return (Criteria) this;
        }

        public Criteria andNeedTimesNotEqualTo(Integer value) {
            addCriterion("need_times <>", value, "needTimes");
            return (Criteria) this;
        }

        public Criteria andNeedTimesGreaterThan(Integer value) {
            addCriterion("need_times >", value, "needTimes");
            return (Criteria) this;
        }

        public Criteria andNeedTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("need_times >=", value, "needTimes");
            return (Criteria) this;
        }

        public Criteria andNeedTimesLessThan(Integer value) {
            addCriterion("need_times <", value, "needTimes");
            return (Criteria) this;
        }

        public Criteria andNeedTimesLessThanOrEqualTo(Integer value) {
            addCriterion("need_times <=", value, "needTimes");
            return (Criteria) this;
        }

        public Criteria andNeedTimesIn(List<Integer> values) {
            addCriterion("need_times in", values, "needTimes");
            return (Criteria) this;
        }

        public Criteria andNeedTimesNotIn(List<Integer> values) {
            addCriterion("need_times not in", values, "needTimes");
            return (Criteria) this;
        }

        public Criteria andNeedTimesBetween(Integer value1, Integer value2) {
            addCriterion("need_times between", value1, value2, "needTimes");
            return (Criteria) this;
        }

        public Criteria andNeedTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("need_times not between", value1, value2, "needTimes");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberIsNull() {
            addCriterion("monkey_exe_number is null");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberIsNotNull() {
            addCriterion("monkey_exe_number is not null");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberEqualTo(Integer value) {
            addCriterion("monkey_exe_number =", value, "monkeyExeNumber");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberNotEqualTo(Integer value) {
            addCriterion("monkey_exe_number <>", value, "monkeyExeNumber");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberGreaterThan(Integer value) {
            addCriterion("monkey_exe_number >", value, "monkeyExeNumber");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("monkey_exe_number >=", value, "monkeyExeNumber");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberLessThan(Integer value) {
            addCriterion("monkey_exe_number <", value, "monkeyExeNumber");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberLessThanOrEqualTo(Integer value) {
            addCriterion("monkey_exe_number <=", value, "monkeyExeNumber");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberIn(List<Integer> values) {
            addCriterion("monkey_exe_number in", values, "monkeyExeNumber");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberNotIn(List<Integer> values) {
            addCriterion("monkey_exe_number not in", values, "monkeyExeNumber");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberBetween(Integer value1, Integer value2) {
            addCriterion("monkey_exe_number between", value1, value2, "monkeyExeNumber");
            return (Criteria) this;
        }

        public Criteria andMonkeyExeNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("monkey_exe_number not between", value1, value2, "monkeyExeNumber");
            return (Criteria) this;
        }

        public Criteria andTaskStatusIsNull() {
            addCriterion("task_status is null");
            return (Criteria) this;
        }

        public Criteria andTaskStatusIsNotNull() {
            addCriterion("task_status is not null");
            return (Criteria) this;
        }

        public Criteria andTaskStatusEqualTo(Integer value) {
            addCriterion("task_status =", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusNotEqualTo(Integer value) {
            addCriterion("task_status <>", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusGreaterThan(Integer value) {
            addCriterion("task_status >", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_status >=", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusLessThan(Integer value) {
            addCriterion("task_status <", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusLessThanOrEqualTo(Integer value) {
            addCriterion("task_status <=", value, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusIn(List<Integer> values) {
            addCriterion("task_status in", values, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusNotIn(List<Integer> values) {
            addCriterion("task_status not in", values, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusBetween(Integer value1, Integer value2) {
            addCriterion("task_status between", value1, value2, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andTaskStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("task_status not between", value1, value2, "taskStatus");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesIsNull() {
            addCriterion("success_times is null");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesIsNotNull() {
            addCriterion("success_times is not null");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesEqualTo(Integer value) {
            addCriterion("success_times =", value, "successTimes");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesNotEqualTo(Integer value) {
            addCriterion("success_times <>", value, "successTimes");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesGreaterThan(Integer value) {
            addCriterion("success_times >", value, "successTimes");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("success_times >=", value, "successTimes");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesLessThan(Integer value) {
            addCriterion("success_times <", value, "successTimes");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesLessThanOrEqualTo(Integer value) {
            addCriterion("success_times <=", value, "successTimes");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesIn(List<Integer> values) {
            addCriterion("success_times in", values, "successTimes");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesNotIn(List<Integer> values) {
            addCriterion("success_times not in", values, "successTimes");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesBetween(Integer value1, Integer value2) {
            addCriterion("success_times between", value1, value2, "successTimes");
            return (Criteria) this;
        }

        public Criteria andSuccessTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("success_times not between", value1, value2, "successTimes");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNull() {
            addCriterion("order_num is null");
            return (Criteria) this;
        }

        public Criteria andOrderNumIsNotNull() {
            addCriterion("order_num is not null");
            return (Criteria) this;
        }

        public Criteria andOrderNumEqualTo(Integer value) {
            addCriterion("order_num =", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotEqualTo(Integer value) {
            addCriterion("order_num <>", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThan(Integer value) {
            addCriterion("order_num >", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_num >=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThan(Integer value) {
            addCriterion("order_num <", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumLessThanOrEqualTo(Integer value) {
            addCriterion("order_num <=", value, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumIn(List<Integer> values) {
            addCriterion("order_num in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotIn(List<Integer> values) {
            addCriterion("order_num not in", values, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumBetween(Integer value1, Integer value2) {
            addCriterion("order_num between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andOrderNumNotBetween(Integer value1, Integer value2) {
            addCriterion("order_num not between", value1, value2, "orderNum");
            return (Criteria) this;
        }

        public Criteria andFailTimesIsNull() {
            addCriterion("fail_times is null");
            return (Criteria) this;
        }

        public Criteria andFailTimesIsNotNull() {
            addCriterion("fail_times is not null");
            return (Criteria) this;
        }

        public Criteria andFailTimesEqualTo(Integer value) {
            addCriterion("fail_times =", value, "failTimes");
            return (Criteria) this;
        }

        public Criteria andFailTimesNotEqualTo(Integer value) {
            addCriterion("fail_times <>", value, "failTimes");
            return (Criteria) this;
        }

        public Criteria andFailTimesGreaterThan(Integer value) {
            addCriterion("fail_times >", value, "failTimes");
            return (Criteria) this;
        }

        public Criteria andFailTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("fail_times >=", value, "failTimes");
            return (Criteria) this;
        }

        public Criteria andFailTimesLessThan(Integer value) {
            addCriterion("fail_times <", value, "failTimes");
            return (Criteria) this;
        }

        public Criteria andFailTimesLessThanOrEqualTo(Integer value) {
            addCriterion("fail_times <=", value, "failTimes");
            return (Criteria) this;
        }

        public Criteria andFailTimesIn(List<Integer> values) {
            addCriterion("fail_times in", values, "failTimes");
            return (Criteria) this;
        }

        public Criteria andFailTimesNotIn(List<Integer> values) {
            addCriterion("fail_times not in", values, "failTimes");
            return (Criteria) this;
        }

        public Criteria andFailTimesBetween(Integer value1, Integer value2) {
            addCriterion("fail_times between", value1, value2, "failTimes");
            return (Criteria) this;
        }

        public Criteria andFailTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("fail_times not between", value1, value2, "failTimes");
            return (Criteria) this;
        }

        public Criteria andFailReasonIsNull() {
            addCriterion("fail_reason is null");
            return (Criteria) this;
        }

        public Criteria andFailReasonIsNotNull() {
            addCriterion("fail_reason is not null");
            return (Criteria) this;
        }

        public Criteria andFailReasonEqualTo(String value) {
            addCriterion("fail_reason =", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonNotEqualTo(String value) {
            addCriterion("fail_reason <>", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonGreaterThan(String value) {
            addCriterion("fail_reason >", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonGreaterThanOrEqualTo(String value) {
            addCriterion("fail_reason >=", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonLessThan(String value) {
            addCriterion("fail_reason <", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonLessThanOrEqualTo(String value) {
            addCriterion("fail_reason <=", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonLike(String value) {
            addCriterion("fail_reason like", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonNotLike(String value) {
            addCriterion("fail_reason not like", value, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonIn(List<String> values) {
            addCriterion("fail_reason in", values, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonNotIn(List<String> values) {
            addCriterion("fail_reason not in", values, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonBetween(String value1, String value2) {
            addCriterion("fail_reason between", value1, value2, "failReason");
            return (Criteria) this;
        }

        public Criteria andFailReasonNotBetween(String value1, String value2) {
            addCriterion("fail_reason not between", value1, value2, "failReason");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdIsNull() {
            addCriterion("retry_origin_id is null");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdIsNotNull() {
            addCriterion("retry_origin_id is not null");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdEqualTo(Long value) {
            addCriterion("retry_origin_id =", value, "retryOriginId");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdNotEqualTo(Long value) {
            addCriterion("retry_origin_id <>", value, "retryOriginId");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdGreaterThan(Long value) {
            addCriterion("retry_origin_id >", value, "retryOriginId");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdGreaterThanOrEqualTo(Long value) {
            addCriterion("retry_origin_id >=", value, "retryOriginId");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdLessThan(Long value) {
            addCriterion("retry_origin_id <", value, "retryOriginId");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdLessThanOrEqualTo(Long value) {
            addCriterion("retry_origin_id <=", value, "retryOriginId");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdIn(List<Long> values) {
            addCriterion("retry_origin_id in", values, "retryOriginId");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdNotIn(List<Long> values) {
            addCriterion("retry_origin_id not in", values, "retryOriginId");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdBetween(Long value1, Long value2) {
            addCriterion("retry_origin_id between", value1, value2, "retryOriginId");
            return (Criteria) this;
        }

        public Criteria andRetryOriginIdNotBetween(Long value1, Long value2) {
            addCriterion("retry_origin_id not between", value1, value2, "retryOriginId");
            return (Criteria) this;
        }

        public Criteria andNeedCanIsNull() {
            addCriterion("need_can is null");
            return (Criteria) this;
        }

        public Criteria andNeedCanIsNotNull() {
            addCriterion("need_can is not null");
            return (Criteria) this;
        }

        public Criteria andNeedCanEqualTo(Integer value) {
            addCriterion("need_can =", value, "needCan");
            return (Criteria) this;
        }

        public Criteria andNeedCanNotEqualTo(Integer value) {
            addCriterion("need_can <>", value, "needCan");
            return (Criteria) this;
        }

        public Criteria andNeedCanGreaterThan(Integer value) {
            addCriterion("need_can >", value, "needCan");
            return (Criteria) this;
        }

        public Criteria andNeedCanGreaterThanOrEqualTo(Integer value) {
            addCriterion("need_can >=", value, "needCan");
            return (Criteria) this;
        }

        public Criteria andNeedCanLessThan(Integer value) {
            addCriterion("need_can <", value, "needCan");
            return (Criteria) this;
        }

        public Criteria andNeedCanLessThanOrEqualTo(Integer value) {
            addCriterion("need_can <=", value, "needCan");
            return (Criteria) this;
        }

        public Criteria andNeedCanIn(List<Integer> values) {
            addCriterion("need_can in", values, "needCan");
            return (Criteria) this;
        }

        public Criteria andNeedCanNotIn(List<Integer> values) {
            addCriterion("need_can not in", values, "needCan");
            return (Criteria) this;
        }

        public Criteria andNeedCanBetween(Integer value1, Integer value2) {
            addCriterion("need_can between", value1, value2, "needCan");
            return (Criteria) this;
        }

        public Criteria andNeedCanNotBetween(Integer value1, Integer value2) {
            addCriterion("need_can not between", value1, value2, "needCan");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryIsNull() {
            addCriterion("need_auxiliary is null");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryIsNotNull() {
            addCriterion("need_auxiliary is not null");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryEqualTo(Integer value) {
            addCriterion("need_auxiliary =", value, "needAuxiliary");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryNotEqualTo(Integer value) {
            addCriterion("need_auxiliary <>", value, "needAuxiliary");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryGreaterThan(Integer value) {
            addCriterion("need_auxiliary >", value, "needAuxiliary");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryGreaterThanOrEqualTo(Integer value) {
            addCriterion("need_auxiliary >=", value, "needAuxiliary");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryLessThan(Integer value) {
            addCriterion("need_auxiliary <", value, "needAuxiliary");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryLessThanOrEqualTo(Integer value) {
            addCriterion("need_auxiliary <=", value, "needAuxiliary");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryIn(List<Integer> values) {
            addCriterion("need_auxiliary in", values, "needAuxiliary");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryNotIn(List<Integer> values) {
            addCriterion("need_auxiliary not in", values, "needAuxiliary");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryBetween(Integer value1, Integer value2) {
            addCriterion("need_auxiliary between", value1, value2, "needAuxiliary");
            return (Criteria) this;
        }

        public Criteria andNeedAuxiliaryNotBetween(Integer value1, Integer value2) {
            addCriterion("need_auxiliary not between", value1, value2, "needAuxiliary");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("is_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("is_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(Integer value) {
            addCriterion("is_deleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(Integer value) {
            addCriterion("is_deleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(Integer value) {
            addCriterion("is_deleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_deleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(Integer value) {
            addCriterion("is_deleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(Integer value) {
            addCriterion("is_deleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<Integer> values) {
            addCriterion("is_deleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<Integer> values) {
            addCriterion("is_deleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(Integer value1, Integer value2) {
            addCriterion("is_deleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(Integer value1, Integer value2) {
            addCriterion("is_deleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}